Response
| Field | Description | Type |
|---|---|---|
| status | "success|error|in progress" – status | |
| code | completion code | |
| message | error message | |
| request_id | Unique request ID |
Note: The status "in progress" indicates that the request is still being processed when using the request_id parameter. This status was introduced to prevent the re-execution of requests with the same request_id if they have already been accepted for processing but not yet completed.
Error codes:
| Field | Description | Type |
|---|---|---|
| 0 | Done | |
| 116 | Document not found | |
| 141 | Department not found | |
| 142 | Document for another company | |
| 143 | Document for another department | |
| 156 | Checking error for one or more items of this list of products/codes - errors_list: [{"code": …, "message":…},...] | |
| 157 | Maximum package size exceeded | |
| 158 | Invalid highload frequency | |
| 161 | Request signature required | |
| 162 | Package sign validation error | |
| 169 | Incorrect date | |
| 223 | Too many errors in the request |
List of possible errors for entries:
| Field | Description | Type |
|---|---|---|
| 134 | Entry for this product range %s not found in the initial document. | |
| 135 | Empty product range %s code | |
| 136 | Package with code %s is not formed yet | |
| 137 | Code %s not found in the database | |
| 138 | Code %s validation error | |
| 139 | The product for this code %s does not match the product for the generated. code | |
| 145 | Package %s not found. | |
| 154 | Product not found | |
| 159 | Incorrect emission type | |
| 163 | Code was issued to another company | |
| 214 | Codes for excise order %s already used up | |
| 215 | Production line does not belong to this department | |
| 216 | The capacity of the transferred code %s does not match the capacity of the product. | |
| 217 | The category of the transferred code %s does not match the category of the product. | |
| 218 | The %s code was transferred to another manufacturer. | |
| 219 | The emission type of the %s code does not match the type of excise codes order | |
| 224 | The item is not produced by your organization |